//
//  SearchController.h
//  takeout
//
//  Created by Mac on 12-5-16.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "FMDBSupplierManager.h"
#import "AppDelegate.h"
#import "SupplierCategoryManager.h"
#import "AppDelegate.h"
#import "SupplierManager.h"
@interface SearchController : BaseViewController<UIPickerViewDelegate,UIPickerViewDataSource,UISearchBarDelegate>{
    AppDelegate *appDelegate;
    UISearchBar *searchBarCustom;
    UIPickerView *conditionPickerView;
    UIButton *directBtn;
    UIButton *detailBtn;
    UIButton *searchBtn;
    UIView *directSearchView;
    UIView *detailSearchView;
    NSString *address;
    NSString *type;
    NSString *time;
    FMDBSupplierManager *fmdbSupplierManager;
    SupplierManager *manager;
    int currentPage;
    NSInteger supplierCategoryId;
     NSArray *suppliers;
    
    //测试数据
    NSArray *addTestData;
    NSArray *typeTestData;
    NSArray *timeTestData;
}
@property (retain, nonatomic) NSArray *searchSupplierCategories;

@end
